package org.dromara.hm.enums;

/**
 * 定时任务阈值类型枚举
 *
 * @Author If404 Hzy
 * @Date 2025-2025/1/17-01:09
 * @Version 1.0
 */
public enum JobTypeEnum
{
    UNFINISHED(0, "未完成"),
    FINISHED(1, "已完成"),
    REJECTED(2, "已驳回");

    private final int code;

    private final String description;

    JobTypeEnum(int code, String description)
    {
        this.code = code;
        this.description = description;
    }

    public String getCode()
    {
        return code + "";
    }

    public String getDescription()
    {
        return description;
    }
}
